package com.niuwa.p2p.dao.message;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.message.WebMsgConfig;
import com.niuwa.p2p.vo.front.account.FrontMsgVo;

@MyBatisDao
public interface WebMsgConfigDao {
    int deleteByPrimaryKey(String tempNo);

    int insert(WebMsgConfig record);

    int insertSelective(WebMsgConfig record);

    WebMsgConfig selectByPrimaryKey(String tempNo);
    
    List<FrontMsgVo> selectByDefault();
    
    List<FrontMsgVo> selectByCustId(String custId);
    
    List<WebMsgConfig> selectByOrderNo(String no);

    int updateByPrimaryKeySelective(WebMsgConfig record);

    int updateByPrimaryKey(WebMsgConfig record);
}